package com.hava.film.timeline.xmeml.v5.entity;

import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlElementWrapper;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement;

import java.util.List;
import java.util.ArrayList;

@JacksonXmlRootElement(localName = "multiclip")
public class Multiclip {

    //作为node的attr
    @JacksonXmlProperty(isAttribute = true)
    public String id;

    //一个或者多个元素
    @JacksonXmlProperty(localName = "name")
    @JacksonXmlElementWrapper(useWrapping = false)
    public List<String> name = new ArrayList<String>();

    //一个或者多个元素
    @JacksonXmlProperty(localName = "angle")
    @JacksonXmlElementWrapper(useWrapping = false)
    public List<Angle> angle = new ArrayList<Angle>();

    //一个或者多个元素
    @JacksonXmlProperty(localName = "collapsed")
    @JacksonXmlElementWrapper(useWrapping = false)
    public List<String> collapsed = new ArrayList<String>();

    //一个或者多个元素
    @JacksonXmlProperty(localName = "synctype")
    @JacksonXmlElementWrapper(useWrapping = false)
    public List<String> synctype = new ArrayList<String>();

}
